import App from './App'



// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'

// 公共数组
import $p from './utils/address.js'
Vue.prototype.$p = $p

// 导入并挂载全局的分享方法
import share from './utils/share.js'
Vue.mixin(share)



import $caseTypes from './utils/caseType.js'
Vue.prototype.$caseTypes = $caseTypes

import $lawyerRank from './utils/lawyerRank.js'
Vue.prototype.$lawyerRank = $lawyerRank

import {BASE_URL_API} from './common/config.js'
Vue.prototype.imagesUrl =  function(img) {
	if (img != undefined) {
		return  BASE_URL_API + img;
	}
	return img;	
}

import api from '@/utils/request.js';


Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif